package com.ethink.warehouse.api.request;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 库存货权变更 新增请求对象
 *
 * @author default
 * @date 2023-01-06
 */
@Data
public class MateInventorySaleChannelChangeLogAddItemRequest {

    @Schema(description ="调整前批次库存ID")
    private Long beforeMateInventoryId;

    @Schema(description ="变更数量")
    private Integer qty;

    @Schema(description ="交易成本价")
    private BigDecimal exceptCostPrice;

    @Schema(description ="预计销售时间")
    @JsonFormat(locale = "zh",timezone = "GMT+8",pattern = "yyyy-MM-dd")
    private Date exceptSaleTime;
}
